package com.xiangxiao.rpan.storage.consumer;

import com.alibaba.fastjson.JSONObject;
import com.xiangxiao.rpan.storage.consumer.callback.SettingsClientCall;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @auther xiangxiao
 * @email 573768011@qq.com
 * @data 2023/10/25 17:15
 */
@FeignClient(value = "rpan-settings", fallback = SettingsClientCall.class)
public interface IConsumerSettingsClient {
  @GetMapping("/api/site/domain")
  JSONObject getDomain();
}
